public class Student {
    public String name;
    public int age;

    public void setstudent(String name, int age) {
        this.name = name;
        this.age = age;
    }
    public void a() {
        this.b();
        System.out.println("今天一定学完");
    }
    public void b() {
        System.out.println(this.name + "在学习web");
    }
    public void print() {
        System.out.println("人物:" + this.name+" "+"年龄:"+this.age);
    }
    public static void main(String[] args) {
        Student s1 = new Student();
        s1.setstudent("风息",2);
        s1.a();
        s1.print();
    }
}
